import { createRouter, createWebHistory } from 'vue-router'


const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      redirect:'/FangHaoAdd'
    },
    {
      path: '/FangHaoAdd',
     
      component: () => import('../views/FangHaoAdd.vue')
    },
    {
      path: '/FangXingAdd',
     
      component: () => import('../views/FangXingAdd.vue')
    },
    {
      path: '/FangXingShow',
     
      component: () => import('../views/FangXingShow.vue')
    },
    {
      path: '/FangXingXiouGai',
     
      component: () => import('../views/FangXingXiouGai.vue')
    },
  ]
})

export default router
